package response

import (
	"server/src/model"
	"server/src/model/common"
)

type AdminLogin struct {
	UserInfo *model.WeChatGroup `json:"we_chat_group"`
	Token    string             `json:"token"`
	IsSystem int                `json:"is_system"` //0为机器人管理员，1为系统管理员
}

// 查找所有用户
type GetAllUser struct {
	PageInfo  common.PageResInfo       `json:"page_info"`
	UsersInfo []*model.WeChatGroupUser `json:"users_info"`
}

// 查找所有用户积分记录
type GetAllUserIntegral struct {
	PageInfo common.PageResInfo   `json:"page_info"`
	UserInfo []*UsersIntegralInfo `json:"user_info" from:"user_info"`
}

type UsersIntegralInfo struct {
	UserName          string               `json:"user_name" from:"user_name"`
	GroupName         string               `json:"group_name" from:"group_name"`
	UsersIntegralInfo model.DivisionRecord `json:"users_Integral_info"`
}
